

 <!--*****************  LEFT  *****************-->
      <div class="columnLeft">
          <div class="content">
              <!--*****************  MENU  *****************-->
              <div class="contentMenu">

                  <div class="contentMenuItems">
                      <ul>
                          <li class="contentMenuTitle"><?php __('Actions'); ?></li>
                          
                          <li><?php echo $this->Html->link(__('List Users', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Statuses', true), array('controller' => 'statuses', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Status', true), array('controller' => 'statuses', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Jobfunctions', true), array('controller' => 'jobfunctions', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Jobfunction', true), array('controller' => 'jobfunctions', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Securitygroups', true), array('controller' => 'securitygroups', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Securitygroup', true), array('controller' => 'securitygroups', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Companies', true), array('controller' => 'companies', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Company', true), array('controller' => 'companies', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Groups', true), array('controller' => 'groups', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Group', true), array('controller' => 'groups', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Dmdforms', true), array('controller' => 'dmdforms', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Dmdform', true), array('controller' => 'dmdforms', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Formstatuses', true), array('controller' => 'formstatuses', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Formstatus', true), array('controller' => 'formstatuses', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Jobprofiles', true), array('controller' => 'jobprofiles', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Jobprofile', true), array('controller' => 'jobprofiles', 'action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('List Powerdelegations', true), array('controller' => 'powerdelegations', 'action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('New Powerdelegation', true), array('controller' => 'powerdelegations', 'action' => 'add')); ?> </li>
                          
                          <li class="contentMenuBottom"></li>
                      </ul>
                  </div>

              </div>
          </div>
      </div>
<!--*****************  RIGHT  *****************-->
      <div class="columnRight">
          <div class="content">
              <div class="contentCenter">
<div class="formContent">
<?php echo $this->Form->create('User');?>
	<fieldset>
 		<legend><?php __('Add User'); ?></legend>
	<?php
		echo $this->Form->input('name');
		echo $this->Form->input('surname');
		echo $this->Form->input('id_code');
		echo $this->Form->input('id_erp');
		echo $this->Form->input('id_win');
		echo $this->Form->input('id_hr');
		echo $this->Form->input('backup_id', array('empty'=>__('Select',true)));
        ?>
            <div class="showNextBtn"><?php echo $this->Html->link(__('Search User',true),array('controller'=>'Users','action'=>'filterUsers','UserBackupId'),array('class'=>'UserBackupId','rel'=>'filterbox','dmdcode'=>'Search User'));  ?></div>        
        <?php
		echo $this->Form->input('manager_id', array('empty'=>__('Select',true)));
        ?>
            <div class="showNextBtn"><?php echo $this->Html->link(__('Search User',true),array('controller'=>'Users','action'=>'filterUsers','UserManagerId'),array('class'=>'UserManagerId','rel'=>'filterbox','dmdcode'=>'Search User'));  ?></div>        
        <?php
		echo $this->Form->input('hrreferent_id', array('empty'=>__('Select',true)));
        ?>
            <div class="showNextBtn"><?php echo $this->Html->link(__('Search User',true),array('controller'=>'Users','action'=>'filterUsers','UserHrreferentId'),array('class'=>'UserHrreferentId','rel'=>'filterbox','dmdcode'=>'Search User'));  ?></div>        
        <?php
		echo $this->Form->input('contract_begin', array('empty'=>__('Select',true)));
		echo $this->Form->input('contract_end', array('empty'=>__('Select',true)));
		echo $this->Form->input('status_id', array('empty'=>__('Select',true)));
		echo $this->Form->input('jobfunction_id', array('empty'=>__('Select',true)));
		echo $this->Form->input('jde_user');
		echo $this->Form->input('baali_user');
		echo $this->Form->input('securitygroup_id', array('empty'=>__('Select',true)));
		echo $this->Form->input('company_id', array('empty'=>__('Select',true)));
		echo $this->Form->input('group_id', array('empty'=>__('Select',true)));
		echo $this->Form->input('mail');
		echo $this->Form->input('username');
		echo $this->Form->input('password', array('empty'=>'mot2pass'));
		echo $this->Form->input('notes');
		echo $this->Form->input('backup_of');
		echo $this->Form->input('replace');
		echo $this->Form->input('Jobprofile');
		echo $this->Form->input('Powerdelegation');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
              </div>
          </div>
      </div>
<div class="clear"></div>
<script>
    $(document).ready(function(){
        popBox.init("filterbox");
    });

</script>